﻿using System;
using System.Collections.Generic;

namespace DTcms.Model
{
    /// <summary>
    /// ch_photos
    /// </summary>
    [Serializable]
	public partial class photos
	{
	    public photos()
        { }
        #region Model
		private int _id;
		private string _title = string.Empty;
		private string _keywords = string.Empty;
		private string _description = string.Empty;
		private string _img_url = string.Empty;
		private int _caizhi_id;
		private int _wenli_id;
		private int _yongtu_id;
		private int _yanse_id;
		private int _province_id;
		private int _city_id;
		private int _district_id;
		private string _content = string.Empty;
		private int _status;
		private DateTime _add_time;
        private int _company_id = 0;
        private int _user_id = 0;
        private int _sort_id = 0;
        /// <summary>
        /// id
        /// </summary>
        public int id
        {
            set{ _id = value; }
            get{ return _id; }
        }        
		/// <summary>
		/// title
		/// </summary>
        public string title
        {
            set{ _title = value; }
            get{ return _title; }
        }        
		/// <summary>
		/// keywords
		/// </summary>
        public string keywords
        {
            set{ _keywords = value; }
            get{ return _keywords; }
        }        
		/// <summary>
		/// description
		/// </summary>
        public string description
        {
            set{ _description = value; }
            get{ return _description; }
        }        
		/// <summary>
		/// img_url
		/// </summary>
        public string img_url
        {
            set{ _img_url = value; }
            get{ return _img_url; }
        }        
		/// <summary>
		/// caizhi_id
		/// </summary>
        public int caizhi_id
        {
            set{ _caizhi_id = value; }
            get{ return _caizhi_id; }
        }        
		/// <summary>
		/// wenli_id
		/// </summary>
        public int wenli_id
        {
            set{ _wenli_id = value; }
            get{ return _wenli_id; }
        }        
		/// <summary>
		/// yongtu_id
		/// </summary>
        public int yongtu_id
        {
            set{ _yongtu_id = value; }
            get{ return _yongtu_id; }
        }        
		/// <summary>
		/// yanse_id
		/// </summary>
        public int yanse_id
        {
            set{ _yanse_id = value; }
            get{ return _yanse_id; }
        }        
		/// <summary>
		/// province_id
		/// </summary>
        public int province_id
        {
            set{ _province_id = value; }
            get{ return _province_id; }
        }        
		/// <summary>
		/// city_id
		/// </summary>
        public int city_id
        {
            set{ _city_id = value; }
            get{ return _city_id; }
        }        
		/// <summary>
		/// district_id
		/// </summary>
        public int district_id
        {
            set{ _district_id = value; }
            get{ return _district_id; }
        }        
		/// <summary>
		/// content
		/// </summary>
        public string content
        {
            set{ _content = value; }
            get{ return _content; }
        }        
		/// <summary>
		/// status
		/// </summary>
        public int status
        {
            set{ _status = value; }
            get{ return _status; }
        }        
		/// <summary>
		/// add_time
		/// </summary>
        public DateTime add_time
        {
            set{ _add_time = value; }
            get{ return _add_time; }
        }
        public int company_id
        {
            get { return _company_id; }
            set { _company_id = value; }
        }
        public int user_id
        {
            get { return _user_id; }
            set { _user_id = value; }
        }
        /// <summary>
        /// 图片相册
        /// </summary>
        private List<photo_albums> _albums;
        public List<photo_albums> albums
        {
            set { _albums = value; }
            get { return _albums; }
        }
        public int Sort_id
        {
            get { return _sort_id; }

            set { _sort_id = value; }
        }
        #endregion Model
    }
}